<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
        <script>
            function selectOption(selector,value){
                selector.val(value);
            }
        </script>
    </head>
    <body>
        <div>
            <select id="select1">
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
            </select>
            <script>
                selectOption($("#select1"),3);
            </script>
        </div>
    </body>
</html>
